package com.system.Service;

import com.github.pagehelper.PageInfo;
import com.system.Entity.Role;
import com.system.Entity.User;

import java.util.List;

public interface RoleService {
    PageInfo<Role> getRoleList(Integer pageNum, Integer pageSize, String roleName);

    void addRole(Role role);

    void updateRole(Role role);

    void deleteRole(String roleId);

    List<Role> getRoleLists();
}
